package com.punai.standard.domain.template;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.punai.common.utils.converter.IsConverter;
import com.punai.common.utils.converter.PrefixConverter;
import lombok.Data;

@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
@Data
public class StaGxLinkFeatureExcel {
    private String id;
    private String itemId;
    @ExcelProperty("费用项编码")
    private String code;
    @ExcelProperty("费用项名称")
    private String itemName;
    @ExcelProperty("特征id")
    private String featureId;
    @ExcelProperty("特征名称")
    private String featureName;
    @ExcelProperty("特征值")
    private String itemFeature;
    // 是否前缀
    @ExcelProperty(value = "特征类型",converter = PrefixConverter.class)
    private String isPrefix;
    // 是否主项
    @ExcelProperty(value = "是否主项",converter = IsConverter.class)
    private String isSubject;
    @ExcelProperty("主项默认值")
    private String featureItem;
    // 前后缀顺序
    @ExcelProperty("排序")
    private Integer sequence;
}
